InspireLabs\WoocommerceInpost\EasyPack_API D

Total Complexity 134
Dependencies 3
Dependents 18
Total lines 901
Lines of code 563
Logical lines of code 262
Comment lines 156
Methods 41
Properties 7

Methods 41

Method Rating Maintainability Complexity Lines of code
post()
C
36 25 76
get()
B
37 20 71
delete()
A
42 14 52
make_api_url()
A
49 9 32
get_error_recursive()
S
53 7 23
validate_phone()
S
56 5 20
ping()
S
57 5 15
get_organization()
S
59 5 13
setupEnvironment()
S
57 4 20
translate_error()
S
44 2 48
customer_shipments_labels()
S
59 3 14
getServicesGlobal()
S
64 3 9
get_post_confirmations()
S
59 1 16
customer_shipments_return_labels()
S
60 1 16
EasyPack_API()
S
71 2 6
is_binary_response()
S
66 2 8
customer_parcel_sticker()
S
69 2 6
dispatch_order_pdf()
S
60 1 15
addToLog()
S
59 1 15
__construct()
S
76 1 4
normalize_country_code_for_geowidget()
S
80 1 3
normalize_country_code_for_inpost()
S
80 1 3
is_sandbox_env()
S
80 1 3
is_production_env()
S
80 1 3
is_uk()
S
80 1 3
is_pl()
S
80 1 3
clear_cache()
S
67 1 8
get_error()
S
79 1 3
put()
S
79 1 3
authorizationError()
S
69 1 6
dispatch_point()
S
79 1 3
dispatch_order()
S
72 1 5
customer_parcel_create()
S
72 1 5
customer_parcel_get_by_id()
S
75 1 4
get_statuses()
S
76 1 4
customer_parcel_cancel()
S
75 1 4
customer_parcel_pay()
S
72 1 5
customer_parcel()
S
73 1 5
api_country()
S
81 1 3
calculate_shipments()
S
72 1 5
getCountry()
S
82 1 3